<?php

namespace Controller\Ajax;

class Ad extends Base {

	public function del() {
		$id = $this->postInt('id');
		$this->mustLogin();
		\Data\Ad::instance()->delById($id);
		$this->response(true);
	}
}